package top.soulblack.purchasesale.model.VO;

import lombok.Data;

import java.util.Date;

/**
 * @Author: 韦溜溜
 * @Description:仓库管理VO
 * @Date: Create in 15:37 2019/5/19
 */
@Data
public class StoreManagementVO {
    /**
     * 仓库主键id
     */
    private Integer storeId;

    /**
     *仓库名称
     */
    private String storeName;

    /**
     *仓库状态
     */
    private boolean storeStatus ;

    /**
     *仓库描述
     */
    private String remarks;

    /**
     *排序标识
     */
    private Integer sort;

    /**
     *管理员名字
     */
    private String  userName;

    /**
     *门店名字
     */
    private String shopName;

    /**
     *创建时间
     */
    private Date createTime;

    /**
     *修改时间
     */
    private Date updateTime;

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public boolean isStoreStatus() {
        return storeStatus;
    }

    public void setStoreStatus(boolean storeStatus) {
        this.storeStatus = storeStatus;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * @return JSON
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"storeId\":")
                .append(storeId);
        sb.append(",\"storeName\":\"")
                .append(storeName).append('\"');
        sb.append(",\"storeStatus\":")
                .append(storeStatus);
        sb.append(",\"remarks\":\"")
                .append(remarks).append('\"');
        sb.append(",\"sort\":")
                .append(sort);
        sb.append(",\"userName\":\"")
                .append(userName).append('\"');
        sb.append(",\"shopName\":\"")
                .append(shopName).append('\"');
        sb.append(",\"createTime\":\"")
                .append(createTime).append('\"');
        sb.append(",\"updateTime\":\"")
                .append(updateTime).append('\"');
        sb.append('}');
        return sb.toString();
    }
}
